package org.jeecg.module.flow.meter.tcpserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Author: 86176
 * @Date: 2024-06-11 8:44
 * @Version: 1.0
 */
@Data
@TableName("ft_meter_device_data_log")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MeterDeviceDataLog {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**表身号*/
    private String meterNumber;

    private String uploadJson;

    private String tenantId;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;
}
